package com.button.boot.active.service;

import javax.jms.JMSException;

import com.button.boot.active.model.User;

public interface ActiveMqService {
    void sendQueueMsg(String msg) throws JMSException;

    void sendQueueMsg(User user) throws JMSException;

    void send2Return(String msg) throws JMSException;

    void sendACKQueueMsg(String msg) throws JMSException;

    void sendTopicMsg(String msg) throws JMSException;

    void sendTopicMsg(User user) throws JMSException;

    void sendDelayTopicMsg(String msg) throws JMSException;

    void sendDelayTopicMsg(String msg,long time) throws JMSException;
}
